﻿<%@ Page Title="The Tapt World - Contact" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="contact.aspx.cs" Inherits="Tapt.Web.contact" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="contactContent">

       <div class="contactLeft">
            <table>
                <tr>
                    <td>Name:<span class="errorAstrix" id="name_validate">*</span></td>
                    <td>Email:<span class="errorAstrix" id="email_validate">*</span></td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox runat="server" ID="NameTxt"></asp:TextBox></td>
                    <td>
                        <asp:TextBox runat="server" ID="EmailTxt"></asp:TextBox></td>
                </tr>
                <tr>
                    <td colspan="2">Message:<span class="errorAstrix" id="message_validate">*</span></td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:TextBox runat="server" CssClass="contactMessage" TextMode="MultiLine" MaxLength="1000" ID="MessageText"></asp:TextBox></td>
                </tr>
            </table>
            <div><span id="charsRemaining" style="padding-left:5px;">1000/1000 characters remaining.</span></div>
            <asp:LinkButton OnClick="SendMessage" Style="margin-top: 10px; margin-left:5px;" CssClass="tButton submitMessage" runat="server" ID="SendLink">Send</asp:LinkButton>
        </div>
        <div class="contactRight">
            <p><span class="contactRightText" style="font-size: medium;"><span style="font-size: 36px;">In</span> the <span style="font-size: 42px;">likely</span> scenario that <span style="font-size: x-large;">praises</span> be deemed worthy of heaping or the <span style="font-size: xx-large;">unlikely</span> occurrence of <span style="font-size: 24px;">grievances in need of airing</span> , please <span style="font-size: 30px;">feel free</span> to contact us at your <span style="font-size: x-large;">leisure</span>...</span></p>
            <img class="goldblum" src="static/img/goldblum.png" />
        </div>
        
    </div>
    <div id="SuccessContactMessage">
        <div><span class="successMessageSpan">Thanks, {0}! We'll get back to you as soon as the power is restored.</span></div>
        <div style="margin-top:20px;"><a href="/">< Back</a></div>
        <img id="contactImageBg" src="static/img/sphinx.png" />
    </div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptsSection" runat="server">
    <script type="text/javascript">
        var submitBtn = $("#<%= SendLink.ClientID %>");
        var nameTbx = $("#<%= NameTxt.ClientID %>");
        var EmailTbx = $("#<%= EmailTxt.ClientID %>");
        var MessageTbx = $("#<%= MessageText.ClientID %>");
    </script>
    <script src="/static/js/contact.js"></script>
</asp:Content>
